export const usePagination = (current, getCommentData) => {
  // 点击分页
  const commentPaging = (page) => {
    current.value = page;
    // 重新渲染数据
    getCommentData();
  };

  return {
    commentPaging,
  };
};
